package com.scs.application.modules.wm.service;

import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.wm.entity.TertiaryStock;
import com.scs.application.modules.wm.entity.WorkOrder;
import com.scs.application.modules.wm.entity.WorkOrderItem;

import java.util.List;

/**
 * <p>
 * 三级库存 Service
 * </p>
 */

public interface TertiaryStockService extends IBaseService<TertiaryStock> {

    void addStock(WorkOrder workOrder, List<WorkOrderItem> workOrderItems);

    /**
     * 通过唯一码查询库存
     *
     * @param uniqueCode：唯一码
     * @return 库存实体
     */
    TertiaryStock getStockByUniqueCode(String uniqueCode);

}
